package cn.sciento.wechat.enterprise.dto;

import java.util.List;

public class GetUserDTO {
  private long errcode;
  
  private String errmsg;
  
  private String userid;
  
  private String name;
  
  private String position;
  
  private String mobile;
  
  private String gender;
  
  private String email;
  
  private String avatar;
  
  private String telephone;
  
  private int enable;
  
  private String alias;
  
  private String address;
  
  private ExtattrBean extattr;
  
  private int status;
  
  private String qr_code;
  
  private String external_position;
  
  private ExternalProfileBean external_profile;
  
  private List<Long> department;
  
  private List<Integer> order;
  
  private List<Integer> is_leader_in_dept;
  
  public long getErrcode() {
    return this.errcode;
  }
  
  public void setErrcode(long errcode) {
    this.errcode = errcode;
  }
  
  public String getErrmsg() {
    return this.errmsg;
  }
  
  public void setErrmsg(String errmsg) {
    this.errmsg = errmsg;
  }
  
  public String getUserid() {
    return this.userid;
  }
  
  public void setUserid(String userid) {
    this.userid = userid;
  }
  
  public String getName() {
    return this.name;
  }
  
  public void setName(String name) {
    this.name = name;
  }
  
  public String getPosition() {
    return this.position;
  }
  
  public void setPosition(String position) {
    this.position = position;
  }
  
  public String getMobile() {
    return this.mobile;
  }
  
  public void setMobile(String mobile) {
    this.mobile = mobile;
  }
  
  public String getGender() {
    return this.gender;
  }
  
  public void setGender(String gender) {
    this.gender = gender;
  }
  
  public String getEmail() {
    return this.email;
  }
  
  public void setEmail(String email) {
    this.email = email;
  }
  
  public String getAvatar() {
    return this.avatar;
  }
  
  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }
  
  public String getTelephone() {
    return this.telephone;
  }
  
  public void setTelephone(String telephone) {
    this.telephone = telephone;
  }
  
  public int getEnable() {
    return this.enable;
  }
  
  public void setEnable(int enable) {
    this.enable = enable;
  }
  
  public String getAlias() {
    return this.alias;
  }
  
  public void setAlias(String alias) {
    this.alias = alias;
  }
  
  public String getAddress() {
    return this.address;
  }
  
  public void setAddress(String address) {
    this.address = address;
  }
  
  public ExtattrBean getExtattr() {
    return this.extattr;
  }
  
  public void setExtattr(ExtattrBean extattr) {
    this.extattr = extattr;
  }
  
  public int getStatus() {
    return this.status;
  }
  
  public void setStatus(int status) {
    this.status = status;
  }
  
  public String getQr_code() {
    return this.qr_code;
  }
  
  public void setQr_code(String qr_code) {
    this.qr_code = qr_code;
  }
  
  public String getExternal_position() {
    return this.external_position;
  }
  
  public void setExternal_position(String external_position) {
    this.external_position = external_position;
  }
  
  public ExternalProfileBean getExternal_profile() {
    return this.external_profile;
  }
  
  public void setExternal_profile(ExternalProfileBean external_profile) {
    this.external_profile = external_profile;
  }
  
  public List<Long> getDepartment() {
    return this.department;
  }
  
  public GetUserDTO setDepartment(List<Long> department) {
    this.department = department;
    return this;
  }
  
  public List<Integer> getOrder() {
    return this.order;
  }
  
  public void setOrder(List<Integer> order) {
    this.order = order;
  }
  
  public List<Integer> getIs_leader_in_dept() {
    return this.is_leader_in_dept;
  }
  
  public void setIs_leader_in_dept(List<Integer> is_leader_in_dept) {
    this.is_leader_in_dept = is_leader_in_dept;
  }
  
  public static class ExtattrBean {
    private List<AttrsBean> attrs;
    
    public List<AttrsBean> getAttrs() {
      return this.attrs;
    }
    
    public void setAttrs(List<AttrsBean> attrs) {
      this.attrs = attrs;
    }
    
    public static class AttrsBean {
      private int type;
      
      private String name;
      
      private TextBean text;
      
      private WebBean web;
      
      public int getType() {
        return this.type;
      }
      
      public void setType(int type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public TextBean getText() {
        return this.text;
      }
      
      public void setText(TextBean text) {
        this.text = text;
      }
      
      public WebBean getWeb() {
        return this.web;
      }
      
      public void setWeb(WebBean web) {
        this.web = web;
      }
      
      public static class TextBean {
        private String value;
        
        public String getValue() {
          return this.value;
        }
        
        public void setValue(String value) {
          this.value = value;
        }
      }
      
      public static class WebBean {
        private String url;
        
        private String title;
        
        public String getUrl() {
          return this.url;
        }
        
        public void setUrl(String url) {
          this.url = url;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
    }
  }
  
  public static class ExternalProfileBean {
    private String external_corp_name;
    
    private List<ExternalAttrBean> external_attr;
    
    public String getExternal_corp_name() {
      return this.external_corp_name;
    }
    
    public void setExternal_corp_name(String external_corp_name) {
      this.external_corp_name = external_corp_name;
    }
    
    public List<ExternalAttrBean> getExternal_attr() {
      return this.external_attr;
    }
    
    public void setExternal_attr(List<ExternalAttrBean> external_attr) {
      this.external_attr = external_attr;
    }
    
    public static class ExternalAttrBean {
      private int type;
      
      private String name;
      
      private TextBeanX text;
      
      private WebBeanX web;
      
      private MiniprogramBean miniprogram;
      
      public int getType() {
        return this.type;
      }
      
      public void setType(int type) {
        this.type = type;
      }
      
      public String getName() {
        return this.name;
      }
      
      public void setName(String name) {
        this.name = name;
      }
      
      public TextBeanX getText() {
        return this.text;
      }
      
      public void setText(TextBeanX text) {
        this.text = text;
      }
      
      public WebBeanX getWeb() {
        return this.web;
      }
      
      public void setWeb(WebBeanX web) {
        this.web = web;
      }
      
      public MiniprogramBean getMiniprogram() {
        return this.miniprogram;
      }
      
      public void setMiniprogram(MiniprogramBean miniprogram) {
        this.miniprogram = miniprogram;
      }
      
      public static class TextBeanX {
        private String value;
        
        public String getValue() {
          return this.value;
        }
        
        public void setValue(String value) {
          this.value = value;
        }
      }
      
      public static class WebBeanX {
        private String url;
        
        private String title;
        
        public String getUrl() {
          return this.url;
        }
        
        public void setUrl(String url) {
          this.url = url;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
      
      public static class MiniprogramBean {
        private String appid;
        
        private String pagepath;
        
        private String title;
        
        public String getAppid() {
          return this.appid;
        }
        
        public void setAppid(String appid) {
          this.appid = appid;
        }
        
        public String getPagepath() {
          return this.pagepath;
        }
        
        public void setPagepath(String pagepath) {
          this.pagepath = pagepath;
        }
        
        public String getTitle() {
          return this.title;
        }
        
        public void setTitle(String title) {
          this.title = title;
        }
      }
    }
  }
}
